Rachel
Toggle table of contents
3.5.0
desktop
Target filter
desktop
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.plugin.pag-kmp
/
org.libpag
/
[desktop]PAGComposition
PAGComposition
desktop
@
NativeLibApi
open
class
PAGComposition
:
PAGLayer
Inheritors
PAGFile
Members
Types
Companion
Link copied to clipboard
desktop
object
Companion
Properties
alpha
Link copied to clipboard
desktop
var
alpha
:
Float
audio
Bytes
Link copied to clipboard
desktop
val
audioBytes
:
ByteArray
?
audio
Start
Time
Link copied to clipboard
desktop
val
audioStartTime
:
Long
bounds
Link copied to clipboard
desktop
val
bounds
:
FloatArray
current
Time
Link copied to clipboard
desktop
var
currentTime
:
Long
duration
Link copied to clipboard
desktop
val
duration
:
Long
editable
Index
Link copied to clipboard
desktop
val
editableIndex
:
Int
excluded
From
Timeline
Link copied to clipboard
desktop
var
excludedFromTimeline
:
Boolean
frame
Rate
Link copied to clipboard
desktop
val
frameRate
:
Float
height
Link copied to clipboard
desktop
val
height
:
Int
layer
Name
Link copied to clipboard
desktop
val
layerName
:
String
layer
Type
Link copied to clipboard
desktop
val
layerType
:
Int
matrix
Link copied to clipboard
desktop
var
matrix
:
FloatArray
native
Handle
Link copied to clipboard
desktop
val
nativeHandle
:
Long
num
Children
Link copied to clipboard
desktop
val
numChildren
:
Int
progress
Link copied to clipboard
desktop
var
progress
:
Double
start
Time
Link copied to clipboard
desktop
var
startTime
:
Long
total
Matrix
Link copied to clipboard
desktop
val
totalMatrix
:
FloatArray
visible
Link copied to clipboard
desktop
var
visible
:
Boolean
width
Link copied to clipboard
desktop
val
width
:
Int
Functions
add
Layer
Link copied to clipboard
desktop
fun
addLayer
(
layer
:
PAGLayer
)
add
Layer
At
Link copied to clipboard
desktop
fun
addLayerAt
(
layer
:
PAGLayer
,
index
:
Int
)
contains
Link copied to clipboard
desktop
operator
fun
contains
(
layer
:
PAGLayer
)
:
Boolean
get
Layer
At
Link copied to clipboard
desktop
fun
getLayerAt
(
index
:
Int
)
:
PAGLayer
?
get
Layer
Index
Link copied to clipboard
desktop
fun
getLayerIndex
(
layer
:
PAGLayer
)
:
Int
global
To
Local
Time
Link copied to clipboard
desktop
fun
globalToLocalTime
(
time
:
Long
)
:
Long
local
Time
To
Global
Link copied to clipboard
desktop
fun
localTimeToGlobal
(
time
:
Long
)
:
Long
remove
All
Layers
Link copied to clipboard
desktop
fun
removeAllLayers
(
)
remove
Layer
Link copied to clipboard
desktop
fun
removeLayer
(
layer
:
PAGLayer
)
:
PAGLayer
?
remove
Layer
At
Link copied to clipboard
desktop
fun
removeLayerAt
(
index
:
Int
)
:
PAGLayer
?
reset
Matrix
Link copied to clipboard
desktop
fun
resetMatrix
(
)
set
Content
Size
Link copied to clipboard
desktop
fun
setContentSize
(
width
:
Int
,
height
:
Int
)
set
Layer
Index
Link copied to clipboard
desktop
fun
setLayerIndex
(
layer
:
PAGLayer
,
index
:
Int
)
swap
Layer
Link copied to clipboard
desktop
fun
swapLayer
(
layer1
:
PAGLayer
,
layer2
:
PAGLayer
)
swap
Layer
At
Link copied to clipboard
desktop
fun
swapLayerAt
(
index1
:
Int
,
index2
:
Int
)